/*
 * @Description  :
 * @Autor        : guoxi
 * @Date         : 2022-07-29 20:12:03
 * @LastEditors  : Please set LastEditors
 * @LastEditTime : 2022-08-01 18:34:58
 * @FilePath     : \rpms\src\api\change.ts
 */
import http from "../utils/http/service";

export const postAlterationList = (data): any => {
  return http.post("/rdms-admin/projectAlter/alterList", data);
};

// export const postAlterationDelete = (data): any => {
//   return http.post(`/rdms-admin/alteration/delete/${data.id}`);
// };

export const postAlterationInfo = (data): any => {
  return http.get(`/rdms-admin/projectAlter/info/${data.id}`);
};

// export const postAlterationAdd = (data): any => {
//   return http.post("/rdms-admin/alteration/add", data);
// };

// export const postAlterationUpdate = (data): any => {
//   return http.post("/rdms-admin/alteration/update", data);
// };

export const postAlterationApprove = (data): any => {
  return http.post(`/rdms-admin/projectAlter/approve`, data);
};
export const postAlterationReject = (data): any => {
  return http.post(`/rdms-admin/projectAlter/reject`, data);
};
